//
//  YBSelectPeopleOftenUseView.h
//  GongXinDangJian
//
//  Created by apple on 17/11/30.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YBPeopleInfoModel.h"


@protocol YBSelectPeopleOftenUseViewDelegate <NSObject>

-(void)selectedArrayDidChange;

@end

@interface YBSelectPeopleOftenUseView : UIView
@property (nonatomic , strong) NSMutableArray * dataArray;

@property (nonatomic , strong) NSMutableArray * headArray;

//自定义是否隐藏
@property (nonatomic , assign) BOOL ybIsHidden;

//选中数组改变状态
@property (nonatomic , assign) BOOL ybSelectChange;

@property (nonatomic , assign)id<YBSelectPeopleOftenUseViewDelegate> delegate;


-(void)loadDataWithDataArray:(NSMutableArray *)dataArray headArray:(NSMutableArray *)headArray;

-(void)ybReloadData;

-(void)ybCleanObserver;
@end
